import request from '@/utils/request'

// 查询时间管理列表
export function listTechnicianTime(query) {
  return request({
    url: '/technicianTime/technicianTime/list',
    method: 'get',
    params: query
  })
}

// 查询时间管理详细
export function getTechnicianTime(id) {
  return request({
    url: '/technicianTime/technicianTime/' + id,
    method: 'get'
  })
}

// 新增时间管理
export function addTechnicianTime(data) {
  return request({
    url: '/technicianTime/technicianTime',
    method: 'post',
    data: data
  })
}

// 修改时间管理
export function updateTechnicianTime(data) {
  return request({
    url: '/technicianTime/technicianTime',
    method: 'put',
    data: data
  })
}

// 删除时间管理
export function delTechnicianTime(id) {
  return request({
    url: '/technicianTime/technicianTime/' + id,
    method: 'delete'
  })
}
